home *** CD-ROM | disk | FTP | other *** search
- OPT MODULE
- OPT EXPORT
-
- MODULE 'locale',
- 'libraries/locale'
-
- PROC locale()
-
- DEF catalog : PTR TO catalog, -> locale catalog
- textlist[20] : LIST,
- a
-
- textlist := ['',
- 'No program icon !',
- 'Error during checking file : ',
- 'Cannot allocate structure !',
- 'Cannot open FileID.library !',
- 'Information',
- 'File :',
- 'Type :',
- 'Select file',
- 'Cannot open Asl.library !',
- 'Cannot open AmigaGuide.library !\nUsing DEFAULT instead.',
- 'Cannot open XFDMaster.library !\nUsing DEFAULT instead.',
- 'Cannot unpack file !',
- 'Unsupported. Requires password or key.',
- 'Unknown error.',
- 'Cannot open file.',
- 'Not enough memory.',
- 'Cannot save temporary file.',
- 'Cannot use datatypes.\nUsing C:More instead.',
- 'Cannot create appicon.',
- 'Do you want to quit or check some files ?',
- 'Quit|Check files|Cancel',
- NIL]
-
- localebase := OpenLibrary('locale.library',38)
-
- IF localebase
- catalog := OpenCatalogA(NIL,'MultiView.catalog',NIL)
- IF catalog
- REPEAT
- textlist[a] := GetCatalogStr(catalog,a,textlist[a])
- a++
- UNTIL textlist[a] = NIL
- CloseCatalog(catalog)
- ENDIF
- CloseLibrary(localebase)
- ENDIF
-
- ENDPROC textlist
-
-